SpriteDecorated

Decorated based on a sprite TextureSet

Author

fzzyhmstrs

Since

0.6.0

Inheritors

Properties

Link copied to clipboard
open val h: Int

Height of the texture set in pixels

Link copied to clipboard
open val w: Int

Width of the texture set in pixels

Functions

Link copied to clipboard
open override fun renderDecoration(context: DrawContext, x: Int, y: Int, delta: Float, enabled: Boolean, selected: Boolean)

Renders the decoration. Notably, this provides active and selected context for rendering different things based on those states.

Link copied to clipboard

TextureProvider this decoration will render from

Link copied to clipboard

TextureSet this decoration will render from